import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';

import { NgJhipsterModule } from 'ng-jhipster';
import { InfiniteScrollModule } from 'ngx-infinite-scroll';

import { BsDropdownModule, TabsModule, ModalModule, PaginationModule, AlertModule } from 'ngx-bootstrap';

import { SessionStorageService } from 'ngx-webstorage';

@NgModule({
    imports: [
        NgJhipsterModule.forRoot({
            // set below to true to make alerts look like toast
            alertAsToast: false
        }),
        BsDropdownModule.forRoot(),
        TabsModule.forRoot(),
        ModalModule.forRoot(),
        PaginationModule.forRoot(),
        AlertModule.forRoot(),
        InfiniteScrollModule
    ],
    providers: [SessionStorageService],
    exports: [FormsModule, CommonModule, NgJhipsterModule, InfiniteScrollModule, AlertModule, BsDropdownModule]
})
export class DeliverApplicationSharedLibsModule {}
